From 361c9826391a8f512e5ca3211feae927f8ee5cce Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 19 Aug 2009 17:00:26 +0100 Subject: [PATCH] x86: Fix arch/x86/xen.lds dependencies. gcc can get the dependency target name wrong (appends .o). Signed-off-by: Keir Fraser --- xen/arch/x86/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index a27e4bad5d..8c3809213e 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -84,6 +84,8 @@ asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c xen.lds: xen.lds.S $(CC) -P -E -Ui386 $(AFLAGS) -o $@ $< + sed -e 's/xen\.lds\.o:/xen\.lds:/g' <.xen.lds.d >.xen.lds.d.new + mv -f .xen.lds.d.new .xen.lds.d boot/mkelf32: boot/mkelf32.c $(HOSTCC) $(HOSTCFLAGS) -o $@ $< -- 2.30.2